import request from '@/utils/request'

// 查询交易单接取记录列表
export function listMallMarketReceive(query) {
  return request({
    url: '/mall/mallMarketReceive/list',
    method: 'get',
    params: query
  })
}

// 查询交易单接取记录详细
export function getMallMarketReceive(id) {
  return request({
    url: '/mall/mallMarketReceive/' + id,
    method: 'get'
  })
}

// 新增交易单接取记录
export function addMallMarketReceive(data) {
  return request({
    url: '/mall/mallMarketReceive',
    method: 'post',
    data: data
  })
}

// 修改交易单接取记录
export function updateMallMarketReceive(data) {
  return request({
    url: '/mall/mallMarketReceive',
    method: 'put',
    data: data
  })
}

// 删除交易单接取记录
export function delMallMarketReceive(id) {
  return request({
    url: '/mall/mallMarketReceive/' + id,
    method: 'delete'
  })
}
